package com.qyhl.webtv.commonlib.entity.news;

import com.stx.xhb.androidx.entity.BaseBannerInfo;

import java.io.Serializable;

/**
 * Created by qyhl on 2017/11/9.
 * 广告模型
 */

public class AdvertiseBean implements Serializable, BaseBannerInfo {
    public int id;
    public String title;
    public String type;
    public String imageUrl;
    public String link;
    public String caption;
    public String content;
    public String style;
    public String linkType;
    public String linkId;
    public String catalogID;
    public String contentType;

    /**
     * 是否可以分享
     */
    public String isShare;

    public String getIsShare() {
        return isShare;
    }

    public void setIsShare(String isShare) {
        this.isShare = isShare;
    }

    public String getLinkType() {
        return linkType;
    }

    public void setLinkType(String linkType) {
        this.linkType = linkType;
    }

    public String getLinkId() {
        return linkId;
    }

    public void setLinkId(String linkId) {
        this.linkId = linkId;
    }

    public String getCatalogID() {
        return catalogID;
    }

    public void setCatalogID(String catalogID) {
        this.catalogID = catalogID;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    @Override
    public String toString() {
        return "AdvertiseBean{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", imageUrl='" + imageUrl + '\'' +
                ", link='" + link + '\'' +
                ", caption='" + caption + '\'' +
                ", content='" + content + '\'' +
                ", style='" + style + '\'' +
                '}';
    }

    @Override
    public Object getXBannerUrl() {
        return imageUrl;
    }

    @Override
    public String getXBannerTitle() {
        return title;
    }
}
